﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Project.Models
{
    public class RootModel
    {
        
    }

    [Serializable]
    public class BaseModel:RootModel
    {
        [Key]
        public Guid Id { get; set; }   // 添加时会自动赋值
        public bool IsDeleted { get; set; } = false;

        public DateTime? CreateAt { get; set; }  // 添加时会自动赋值
    }

    
}
